package acs.bridge;

import acs.bridge.dao.BridgeDAOImpl;
import org.apache.log4j.Logger;

import java.math.BigDecimal;

/**
 * home
 * ACS
 * User: kuznesovstv
 * Date: 24.05.13
 * Time: 17:54
 */
public class bm_repl implements BridgeModuleInterface, BridgeModuleExtInterface {
    static String version = "1";
    Logger logger = Logger.getLogger(this.getClass().getName());
    public static BridgeDAOImpl bridgeDAOImpl;

    public static void main(String[] args) {
    }

    public void setBridgeDAOImpl(BridgeDAOImpl bridgeDAOImpl) {
        this.bridgeDAOImpl = bridgeDAOImpl;
    }

    @Override
    public void execute(String a_group_tag, String a_meta_tag, BigDecimal a_raw_id, String a_module_tag) throws BridgeModuleException {
        logger.info("BridgeModule " + this.getClass().getName() + " ver." + version + " {raw_id=" + a_raw_id + "}");
    }

    @Override
    public void initial_processing() {
    }

    @Override
    public void execute_meta_start(String a_group_tag, String a_meta_tag) {
        logger.info("execute_meta_start");
    }

    public void execute_meta_finish(String a_group_tag, String a_meta_tag) {
        logger.info("execute_meta_finish");
    }

    @Override
    public void final_processing(BigDecimal bigDecimal) {
    }

}